Runs a test.
/LoadTest/rest/domains/{domainName}/projects/{projectName}/Runs
The ID of the test to run is in the request data. See below.
POST: Creates the Run resource. Creating the resource runs the test.
Headers:
One of:
None
Cookies:
LWSSO_COOKIE_KEY={LwssoCookie};QCSession={QCSessionCookie};
Request Body:
An XML describing the requested run or the equivalent in JSON formant. The elements of the XML are:
Element | Description |
---|---|
Run | The top-level element. |
PostRunAction |
One of:
|
TestID | The test ID from HP Application Lifecycle Management (ALM) |
TestInstanceID | The test instance ID from MyPc in the Test Lab perspective. |
TimeslotDuration |
The time to allot for the test. |
VudsMode | If true, the test consumes Virtual User Day (VUD) licenses. |
Headers:
Content-Type: application/xml or Content-Type: application/json
Location: { the link to the new Run entity}. This link is used in all subsequent references to the run. See below in the "See Also" section.
Cookies:
None
HTML Return Code:
See the HTTP Return Codes
HTML Body:
The data on the new entity. See Run Status XML.
These resources consume the link returned in the Location header:
Get Run Status
Results
Results/{ID}
stop
stopNow
abort
|